package com.cdy.sample_client.controller;

import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RefreshScope
public class HelloController {
    
    @RequestMapping("/world")
    public String world() {
    	return "producer1port9001 say hello world";
    }
    
}
